#include "DirectionalLight.h"

DirectionalLight::DirectionalLight(const Vector3f& dir, const Color3f& color) {
    lighting = Lighting(dir, -1.0, color);
}

Lighting DirectionalLight::getLightingFrom(Vector3f& pos) {
    return lighting;
}

void DirectionalLight::userModify(float x, float y) {
    lighting.dir.rotateLeft(x);
    lighting.dir.rotateUp(y);
}
